package com.thkj.modules.sys.service.impl;

import java.util.Map;

import org.springframework.stereotype.Service;

import com.thkj.modules.sys.entity.RequestLog;
import com.thkj.modules.sys.service.RequestLogService;

import dp.dao.PagingList;
import dp.service.BaseService;

@Service
public class RequestLogServiceImpl extends BaseService implements RequestLogService {
	@Override
	public void insert(RequestLog t) {
		dao.insert("com.thkj.mapper.RequestLog.insert", t);
	}

	@Override
	public PagingList<Map> getRequestLogs(Map param, int page, int size) {
		return dao.queryForPagingList("com.thkj.mapper.RequestLog.getRequestLogs", param, page, size, Map.class);
	}

}
